.navigator-container {
    position: absolute;
    right: 256px;
    bottom: 16px;
    border-radius: var(--jj-border-radius-small);
    background-color: var(--jj-bg-primary);
    color: var(--jj-text-secondary);
    font-size: 12px;
    line-height: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Open Sans';
    box-shadow: 0px 4px 11px 0px #00000014;

    .joint-toolbar {
        border-radius: var(--jj-border-radius-small);

        .joint-toolbar-group {
            gap: 4px;
        }

        .joint-widget[data-type="iconButton"] {
            background: transparent;
            border: none;
            padding: 10px;
            cursor: pointer;
        }

        .joint-widget[data-type="iconButton"].active {
            background: var(--jj-accent-primary);
        }

        .joint-widget[data-type="zoomSlider"] {
            padding: 6px 4px;

            output {
                min-width: 28px;
            }
        }
    }
}

.joint-navigator {
    max-height: 130px;
    transform: scale(1);
    transform-origin: center bottom;
    transition: 0.3s ease-in-out;
    transition-property: max-height, transform;

    .current-view:not(&.hidden) {
        opacity: 1;
        transition-delay: 0.3s;
        transition-property: opacity;
        transition-duration: 0.3s;
        transition-timing-function: ease-in-out;
    }

    .joint-paper {
        box-shadow: none;

        path {
            opacity: 0.5;
            fill: var(--jj-bg-navigator-path-fill);
        }
    }

    &.hidden {
        max-height: 0;
        transform: scale(0);

        .current-view {
            opacity: 0;
            transition: none;
        }
    }
}
